package hibernate;

import java.util.HashSet;
import java.util.Set;


/**
 * AbstractInstructor entity provides the base persistence definition of the Instructor entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractInstructor  implements java.io.Serializable {


    // Fields    

     private Integer instructorId;
     private Program program;
     private String name;
     private String instructorAdd;
     private Set courses = new HashSet(0);


    // Constructors

    /** default constructor */
    public AbstractInstructor() {
    }

	/** minimal constructor */
    public AbstractInstructor(String name) {
        this.name = name;
    }
    
    /** full constructor */
    public AbstractInstructor(Program program, String name, String instructorAdd, Set courses) {
        this.program = program;
        this.name = name;
        this.instructorAdd = instructorAdd;
        this.courses = courses;
    }

   
    // Property accessors

    public Integer getInstructorId() {
        return this.instructorId;
    }
    
    public void setInstructorId(Integer instructorId) {
        this.instructorId = instructorId;
    }

    public Program getProgram() {
        return this.program;
    }
    
    public void setProgram(Program program) {
        this.program = program;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getInstructorAdd() {
        return this.instructorAdd;
    }
    
    public void setInstructorAdd(String instructorAdd) {
        this.instructorAdd = instructorAdd;
    }

    public Set getCourses() {
        return this.courses;
    }
    
    public void setCourses(Set courses) {
        this.courses = courses;
    }
   








}